import Model from './Model';

Model.define('Material', {
    name: {
        type: String,
        required: true,
        trim: true,
    },
    author: {
        type: String,
        required: true
    },
    gmtModified: {
        type: Date,
        default: () => new Date()
    },
    type: String,
    content: Model.Schema.Types.Mixed
});
